/*下方是通知框的CSS样式*/
.notification {
    position: fixed;
    top: -60px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-align: center;
    transition: top 0.5s, background-color 3s;
    z-index: 9999;
    left: 0;
}
.notification.success {
    background-color: #4CAF50;
}
.notification.warning {
    background-color: #f44336;
}
/*上方是通知框的CSS样式*/

/*下方是容器CSS样式*/


/*动画*/
/* 一般淡入 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* 一般淡出 */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/* 从上方淡入 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 从上方淡出 */
@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}
/* 从下方淡入 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 从下方淡出 */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}
/* 从小到大淡入 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* 从大到小淡出 */
@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0);
    }
}
/* 从更大到正常 */
@keyframes fadeInScaleBig {
    from {
        opacity: 0;
        transform: scale(1.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* 从正常放大淡出 */
@keyframes fadeOutScaleBig {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(1.5);
    }
}
/* 缩放动画 从小到大 */
@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
/* 缩放动画 从大到小 */
@keyframes scaleOut {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}
/*上下平移动画*/
@keyframes moveInUp {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
/* 左右平移动画*/
@keyframes moveInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
/* 旋转 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/*图片灯箱*/
 .lightbox{

 }
 .lightbox img{
     cursor: zoom-in;
     width: 100%;
     height: 100%;
     margin-top: 20px;
 }
 #lightbox{
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0,0,0,0.8);
     display: flex;
     justify-content: center;
     align-items: center;
     z-index: 9999;
 }
    #lightbox .lightboximg{
        max-width: 80%;
        max-height: 80%;
        display: block;
        margin: auto;

    }

/* 全局变量 */
:root{
    --darker-gray: #666;
    --yellow: #ffb03a;
    --primary: #3498db;
    --primary-hover: #ff8800;
    --wrapper-width: 75em;
    --wrapper-gap: 1.25em;
    --light-blue: #57c4fd;
    --radius:.5em;
    --border-width:1px;
    --border-color:#eee;
    --blue-color:#fff;
    --blue:#3498db;
    --gray:#ccc;
    --light-gray:#ddd;
}